package tech.topcoder.springcloud.simpleservice.dao;

import java.util.List;
import tech.topcoder.springcloud.simpleservice.bean.User;
import tech.topcoder.springcloud.simpleservice.bean.UserExample;

public interface UserDao {
    long countByExample(UserExample example);

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    List<User> selectByExample(UserExample example);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}